<?php
	class News {
	
	private $title;
	private $image;
	private $resume;
	private $link;
	private $weight;
	private $source;
	private $shortName;
	private $pubDate;
	
	//Getters
	public function getTitle() {
		return $this->title;
	}
	public function getImage() {
		return $this->image;
	}
	public function getResume() {
		return $this->resume;
	}
	public function getLink() {
		return $this->link;
	}
	public function getWeight() {
		return $this->weight;
	}
	public function getSource() {
	
		return $this->source;
	}
	public function getShortName() {
	
		return $this->shortName;
	}
	public function getPubDate() {
	
		return $this->pubDate;
	}
	
	//Setters
	public function setTitle($tit) {
		$this->title = $tit;
	}
	public function setImage($img) {
		$this->image = $img;
	}
	public function setResume($res) {
		$this->resume = $res;
	}
	public function setLink($lnk) {
		$this->link = $lnk;
	}
	public function setWeight($weight) {
		$this->weight = $weight;	
	}
	public function setSource($source) {
		$this->source = $source;
	}
	public function setShortName($shortName) {
		$this->shortName = $shortName;
	}
	public function setPubDate($pubDate) {
		$this->pubDate = $pubDate;
	}
}
?>